package io.renren.modules.im.service.Impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.modules.im.dao.IMFriendDao;
import io.renren.modules.im.entity.IMFriends;
import io.renren.modules.im.service.IMFriendService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("iMFriendService")
public class IMFriendServiceImpl extends ServiceImpl<IMFriendDao, IMFriends> implements IMFriendService{


    @Override
    public List<IMFriends> listFriendsByUserId(Long userId) {
        return baseMapper.listFriendsByUserId(userId);
    }
}
